<a href="/some/ref/<selection>foo&amp;b<caret>ar</selection>">jdjfkd</a>